package cn.lccabc.user.service;

import cn.lccabc.user.entity.User;

/**
 * Created by L on 2018/4/7.
 */
public interface UserService {

    int creatUser(User user) throws Exception;

    User findUserByUserName(String username);
    /**
     * Shiro根据用户名查询用户权限
     * @param username
     * @return
     */
    User findByUsernameShiro(String username);
}
